<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<style>
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

#app {
  width: 100%;
  min-height: 100vh;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  display: flex;
  flex-direction: column;
}

.el-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.el-header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.el-header h1 {
  margin: 0;
  font-size: 24px;
  color: #409EFF;
}

.el-main {
  flex: 1;
  background-color: #f5f7fa;
  min-height: calc(100vh - 60px);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.el-card {
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.el-button {
  border-radius: 4px;
}

.el-button--primary {
  background-color: #409EFF;
  border-color: #409EFF;
}

.el-button--primary:hover {
  background-color: #66b1ff;
  border-color: #66b1ff;
}

.el-form-item__label {
  font-weight: 500;
}

.el-input__wrapper,
.el-select__wrapper,
.el-date-editor__wrapper {
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  .el-main {
    padding: 0;
  }
  
  .el-form-item {
    margin-bottom: 18px;
  }
}
</style>
